package com.isoftstone.common.entity;

import com.isoftstone.merchant.entity.mdept.MDept;

import java.util.Date;
import java.util.List;
import java.util.Map;

public class SysUser {
    private String userid;//用户id

    private String usercode;//用户名

    private String nickname;//用户姓名

    private String type;//类型

    private String corpId;//商户id
    private String corpName ;

    private String password;//密码

    private String lastUpdateIp;//最后更新ip

    private String status;//01：未审核02：正常 03：禁用

    private String email;//邮箱

    private String phone;//电话

    private Date createDate;//创建时间

    private String creator;//创建人

    private Date lastUpdateDate;//最后更新时间

    private String lastUpdateCreator;//最后更新人

    private  String system;//01银行 02 商户

    private String roleName;//角色名

    //private List<Map<String,String>> treeInfo;

    private  String roleid;

    private  String count;

    private  String jigou;

    private String orgName;

    public String getOrgName() {
        return orgName;
    }

    public void setOrgName(String orgName) {
        this.orgName = orgName;
    }

    public String getUserid() {
        return userid;
    }

    public void setUserid(String userid) {
        this.userid = userid == null ? null : userid.trim();
    }

    public String getUsercode() {
        return usercode;
    }

    public void setUsercode(String usercode) {
        this.usercode = usercode == null ? null : usercode.trim();
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname == null ? null : nickname.trim();
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type == null ? null : type.trim();
    }

    public String getCorpId() {
        return corpId;
    }

    public void setCorpId(String corpId) {
        this.corpId = corpId == null ? null : corpId.trim();
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    public String getLastUpdateIp() {
        return lastUpdateIp;
    }

    public void setLastUpdateIp(String lastUpdateIp) {
        this.lastUpdateIp = lastUpdateIp == null ? null : lastUpdateIp.trim();
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status == null ? null : status.trim();
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email == null ? null : email.trim();
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone == null ? null : phone.trim();
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public String getCreator(String creator) {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator == null ? null : creator.trim();
    }

    public Date getLastUpdateDate() {
        return lastUpdateDate;
    }

    public void setLastUpdateDate(Date lastUpdateDate) {
        this.lastUpdateDate = lastUpdateDate;
    }

    public String getLastUpdateCreator() {
        return lastUpdateCreator;
    }

    public void setLastUpdateCreator(String lastUpdateCreator) {
        this.lastUpdateCreator = lastUpdateCreator == null ? null : lastUpdateCreator.trim();
    }

    public String getSystem() {
        return system;
    }

    public void setSystem(String system) {
        this.system = system;
    }

    public String getCreator() {
        return creator;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    /*public List<Map<String, String>> getTreeInfo() {
        return treeInfo;
    }

    public void setTreeInfo(List<Map<String, String>> treeInfo) {
        this.treeInfo = treeInfo;
    }*/

    public String getRoleid() {
        return roleid;
    }

    public void setRoleid(String roleid) {
        this.roleid = roleid;
    }

    public String getCount() {
        return count;
    }

    public void setCount(String count) {
        this.count = count;
    }

    public String getJigou() {
        return jigou;
    }

    public void setJigou(String jigou) {
        this.jigou = jigou;
    }

    public String getCorpName() {
        return corpName;
    }

    public void setCorpName(String corpName) {
        this.corpName = corpName;
    }
}